package com.bit.demo1;

import javax.management.monitor.StringMonitor;

public class Computer {
    private String cpu;
    private String memory;
    private String screen;
    private String brand;
    public Computer(String cpu, String memory,String screen,String brand){
        this.cpu=cpu;
        this.memory=memory;
        this.screen=screen;
        this.brand=brand;
    }
    public void Boot(){
        System.out.println("开机--");
    }
    public void PowerOff(){
        System.out.println("关机-0-");
    }

}
